#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
using namespace std;

class Acount
{
public:
	Acount()
		
	{
		count++;
	}
	Acount(Acount& ac)
		
	{
		count++;
	}

	static int num_count()
	{
		return Acount::count;
	}
private:
	static int count;
};

int Acount::count = 0;

void func(Acount a)
{

}

int main()
{
	Acount a1;
	Acount a2;
	func(a1);

	cout << a1.num_count() << endl;
	return 0;
}